package com.study.sfd.prescription.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.study.common.utils.PageResult;
import com.study.common.utils.Result;
import com.study.common.entity.PrescriptionEntity;
import com.study.common.vo.PrescriptionVo;

import java.util.Map;

/**
 * prescription(处方)
 *
 * @author 王个球
 * @email wangdajunzy@163.com
 * @date 2021-11-12 13:48:21
 */
public interface PrescriptionService extends IService<PrescriptionEntity> {

    PageResult queryPage(Map<String, Object> params);

    Result<PageResult> listMedicines(Map<String, Object> params);

    int savePrescription(PrescriptionEntity prescription);

    PrescriptionVo info(Integer id);

    void pay(Integer id);
}

